home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c / 146 < prev    next >
Internet Message Format  |  1996-08-06  |  916b

  1. Path: news.cs.ucla.edu!twinsun!not-for-mail
  2. From: eggert@twinsun.com (Paul Eggert)
  3. Newsgroups: comp.std.c
  4. Subject: Re: brief summary of Technical Corrigendum 2
  5. Date: 19 Jan 1996 02:01:15 -0800
  6. Organization: Twin Sun Inc, El Segundo, CA, USA
  7. Message-ID: <4dnq5b$t9a@der.twinsun.com>
  8. References: <4d554m$q4b@news1.halcyon.com> <4dfgdt$se6@der.twinsun.com> <1996Jan16.174120.3636@sq.com>
  9. NNTP-Posting-Host: der.twinsun.com
  10.  
  11. msb@sq.com (Mark Brader) writes:
  12.  
  13. >Paul Eggert (eggert@twinsun.com) writes:
  14.  
  15. >> * String and wide string literals need not be distinct even if not identical,
  16. >>   so long as their elements have appropriate values.
  17.  
  18. >This may be momentarily puzzling, if you don't realize that "their
  19. >elements" includes the trailing null character.
  20.  
  21. My favorite bit of trivia along these lines is that it is possible
  22. for two non-identical string literals to have the same address!
  23. The null character is the key.
  24.